package com.lw.creational.prototype;

/**
 * @author LW
 * @2021/8/30 10:01
 */
public class Test implements Cloneable{
    String name;

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    public Test(String name) {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
